package com.ikkong.common.vo;

import java.math.BigDecimal;
import java.util.Date;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;
import org.beetl.sql.core.annotatoin.Table;

import com.ikkong.core.annotation.BindID;
import com.ikkong.core.model.BaseModel;

@Table(name = "tfw_user")
@BindID(name = "id")
@SuppressWarnings("serial")
public class User extends BaseModel {
	private Integer id;
	private String account;
	private Integer deptid;
	private String email;
	private String name;
	private String password;
	private String salt;
	private String phone;
	private String roleid;
	private Integer sex;
	private Integer u_type;
	private Integer status;
	private Integer version;
	private Integer tel_code;
	private Date birthday;
	private Date createtime;
	private Date code_time;
	private String openid;
	private String avatar;
	private Date updatetime;
	public BigDecimal fx_money_all;
	public BigDecimal money_now;
	private Integer point;
	private Integer parent_user;
	private String mylike_cart;





	@AutoID //mysql自增
	@SeqID(name = "SEQ_USER") //oracle sequence自增
	//两者只需要写一个,根据数据库不同来选择
	public Integer getPoint() {
		return point;
	}

	public void setPoint(Integer point) {
		this.point = point;
	}

	public BigDecimal getMoney_now() {
		return money_now;
	}

	public void setMoney_now(BigDecimal money_now) {
		this.money_now = money_now;
	}
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getU_type() {
		return u_type;
	}

	public void setU_type(Integer u_type) {
		this.u_type = u_type;
	}

	public Integer getTel_code() {
		return tel_code;
	}

	public void setTel_code(Integer tel_code) {
		this.tel_code = tel_code;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Integer getParent_user() {
		return parent_user;
	}

	public void setParent_user(Integer parent_user) {
		this.parent_user = parent_user;
	}

	public String getMylike_cart() {
		return mylike_cart;
	}

	public void setMylike_cart(String mylike_cart) {
		this.mylike_cart = mylike_cart;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Integer getDeptid() {
		return deptid;
	}

	public void setDeptid(Integer deptid) {
		this.deptid = deptid;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRoleid() {
		return roleid;
	}

	public void setRoleid(String roleid) {
		this.roleid = roleid;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}


	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getCode_time() {
		return code_time;
	}

	public void setCode_time(Date code_time) {
		this.code_time = code_time;
	}


}
